From f3f5b485599a15c04b555a73e5835a2fb0e09ac2 Mon Sep 17 00:00:00 2001 From: Daniel Friesen Date: Tue, 26 Aug 2008 14:38:25 +0000 Subject: [PATCH] Whoops, this was probably supposed to be an elseif. --- includes/EditPage.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index af1cb0aae5..b0ad2811e3 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1070,8 +1070,7 @@ class EditPage { } if ( $this->isConflict ) { $wgOut->setPageTitle( wfMsg( 'editconflict', $wgTitle->getPrefixedText() ) ); - } - if( $this->section != '' ) { + } elseif( $this->section != '' ) { $msg = $this->section == 'new' ? 'editingcomment' : 'editingsection'; $wgOut->setPageTitle( wfMsg( $msg, $wgTitle->getPrefixedText() ) ); } else { -- 2.20.1